An Applicative Control-Flow Graph Based on Huet's Zipper

نویسندگان

  • Norman Ramsey
  • João Dias
چکیده

We are using ML to build a compiler that does low-level optimization. To support optimizations in classic imperative style, we built a control-flow graph using mutable pointers and other mutable state in the nodes. This decision proved unfortunate: the mutable flow graph was big and complex, and it led to many bugs. We have replaced it by a smaller, simpler, applicative flow graph based on Huet’s (1997) zipper. The new flow graph is a success; this paper presents its design and shows how it leads to a gratifyingly simple implementation of the dataflow framework developed by Lerner, Grove, and Chambers (2002).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modeling Data Flow and Control Flow for High Level MemoryManagement

The goal of this paper is to advocate a control ow independent modeling of data ow in applicative algorithm speciications. The model is utilized in the synthesis of ASIC architectures for real-time signal processing applications. It allows for a generalization of control ow transformations which are used to optimize the memory organization at an early stage in the synthesis trajectory. Argument...

متن کامل

Evaluation of Performance Levels of Zipper-Braced Frames Using Structural Damage Index

The determination of structural and nonstructural damage under earthquake excitations is usually considered as a key factor in performance-based seismic design (PBSD) methods is In this regard, various damage indices have been developed in recent years to quantitatively estimate structural damage. The aim of this study is to develop a simple method to evaluate performance levels of zipper-brace...

متن کامل

Cluster Synchronization for Coupled Linear Systems with Nonidentical Dynamics

For coupled systems with nonidentical dynamics, the cluster synchronization problem requires that states of systems characterized by the same parameters synchronize together. This problem is of both theoretical and applicative importance and is more complicated than clustering for homogeneous systems. This paper considers generic linear dynamical systems whose system parameters are distinct in ...

متن کامل

Zipper logic

Zipper logic is a graph rewrite system, consisting in only local rewrites on a class of zipper graphs. Connections with the chemlambda artificial chemistry and with knot diagrammatics based computation are explored in the article.

متن کامل

Achievement of Minimum Seismic Damage for Zipper Braced Frames Based on Uniform Deformations Theory

When structures are subjected to strong ground motion excitations, structural elements may be prone to yielding, and consequently experience significant levels of inelastic behavior. The effects of inelastic behavior on the distribution of peak floor loads are not explicitly accounted for in current seismic code procedures. During recent years, many studies have been conducted to develop new de...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 148  شماره 

صفحات  -

تاریخ انتشار 2006